GetControlFromTable

Note: This statement is not available in the Add Statement dialog box.

Returns a control from an HTML table. See Using the GetControlFromTable statement for more information.

Syntax

GetControlFromTable("ControlType", RowIndex, ColumnIndex, "Property", "ExpectedValue", ...)

Note: If a table includes more than one of the same type of control in a cell, you can enter multiple Property/ExpectedValue pairs to uniquely identify the control.

Arguments

Argument Description
ControlType Control type to search for.
RowIndex Table row index number to search in.
ColumnIndex Table column index number to search in.
Property Property name to search for.
ExpectedValue Property value to search for.

Supported objects

HTMLTable

Return value

Value Description
Value Control name in table.

Example

Window("Users").HTMLTable("Admin").GetControlFromTable("HTMLLink", 2, 2, "Inner Text", "Details")